package com.bsj.pay.dao;

import com.bsj.pay.model.PayPoolBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.bsj.pay.model.PayPoolBean
 */
@Mapper
public interface PayPoolDao extends BaseDao<PayPoolBean> {

    PayPoolBean getOneCanUsePayUrl(@Param("amount") Integer amount, @Param("pay_type") String pay_type);

    Integer removeExpired();
}
